package com.cndw.kungfu;

import java.util.Set;
import java.util.Stack;

public class DbToExcel {

	public static void main(String[] args) {
		Set<Integer> sSet = DbToExcelTools.getSet(1);
		Set<Integer> tSet =DbToExcelTools.getSet(2);
		Stack<Integer> stack = new Stack<Integer>();
		stack.addAll(tSet);
		int id = 0;
		while (!stack.isEmpty()) {
			id = stack.pop();
			if (sSet.contains(id)) {
				sSet.remove(id);
			}
		}
		System.out.println(sSet.size());
//		DbToExcelTools.getFiledData(1, sSet);
	}
}
